package com.licode.codekit.buildprj;

public class CodeKitConf {
    public static final int CLIENT_PRJ = 1;
    public static final int SERVICE_PRJ = 2;

    public static final String TEMP_BASE_PATH = "template";

    public static final String PROJECT = "project";
    public static final String MODULES = "modules";
    public static final String GROUP_ID = "groupId";
    public static final String ARTIFACT_ID = "artifactId";
    public static final String KIT_VERSION = "kitVersion";
    public static final String PACKAGING = "packaging";
    public static final String VERSION = "version";

    public static final String SRC_ROOT = "src/main/java/";
    public static final String SRC_ROOT_PREFIX = "src/main/java";

    public static final String CLIENT_ROOT = "client/src/main/java/";
    public static final String SERVICE_ROOT = "service/src/main/java/";

    public static final String CLIENT_PREFIX = "client/";
    public static final String SERVICE_PREFIX = "service/";
    public static final String CLIENT_TAG = "client";
    public static final String SERVICE_TAG = "service";

    public static final String MODULE_CLASS_PREFIX = "ModuleClass";
    public static final String ENTITY_NAME_PREFIX = "EntityName";


    public static final String CODE_PREFIX = "code/";
    public static final String MODULE_PREFIX = "module/";
    public static final String PARENT_MODULE_PREFIX = "parent-module/";
    public static final String PROJECT_PREFIX = "project/";

    public static final String PROJECT_TYPE = "project_type";
    public static final String MODULE_TYPE = "module_type";
    public static final String CODE_TYPE = "code_type";

    /**
     * 创建模块时指定的类型
     */
    public static final String BM_DEFAULT = "default";
    public static final String BM_DOMAIN = "domain";
    public static final String BM_PARENT = "parent";
    public static final String BM_COMPONENT = "component";
    public static final String BM_STARTER = "starter";

    public static final String PACKAGING_POM = "pom";
    public static final String PACKAGING_JAR = "jar";

    /**
     * 配置文件常量定义
     */
    public static final String LI_CLIENT_PACKAGE_TAG = "ClientTag.java";
    public static final String LI_SERVICE_PACKAGE_TAG = "ServiceTag.java";

    /**
     * 模块类型
     */
    public static final String MT_SIX_SIDE_PARENT = "sixside-parent";
    public static final String MT_SIX_SIDE_CLIENT = "sixside-client";
    public static final String MT_SIX_SIDE_SERVICE = "sixside-service";

    public static final String MT_SIMPLE_PARENT = "simple-parent";
    public static final String MT_SIMPLE_CLIENT = "simple-client";
    public static final String MT_SIMPLE_SERVICE = "simple-service";
    public static final String MT_COMPONENT = "li-component";

    public static final String PACKAGE_LOCATION_TAG = "_PackageTag.java";

    public static final String MT_PROJECT = "li-project";
    public static final String MT_PARENT = "parent-module";
    public static final String MT_STARTER = "starter-module";
    public static final String MT_SINGLE = "single-module";
    public static final String MT_SIMPLE_ARCH = "simple-arch-parent";
    public static final String MT_SINGLE_SIX = "single-six-parent";
    public static final String MT_SPEC_SIX = "spec-six-parent";

    public static final String LI_CONFIG = "li-config";

    public static final String LI_AUTHOR = "author";
    public static final String LI_MODULE_TYPE = "module-type";
    public static final String LI_PACKAGE = "package";
    public static final String LI_MODULES = "modules";
    public static final String LI_CLIENT_PACKAGE = "client-package";
    public static final String LI_SERVICE_PACKAGE = "service-package";

    public static final String LI_CLIENT_MODULE = "client-module";
    public static final String LI_SERVICE_MODULE = "service-module";
    public static final String LI_CREATE_TIME = "create-time";
    public static final String LI_VERSION = "version";

    public static final String DB_PREFIX = "db-";
    public static final String DB_SETTING = "db-setting";
    public static final String DB_NAME = "db-name";
    public static final String DB_HOST = "db-host";
    public static final String DB_PORT = "db-port";
    public static final String DB_USER = "db-user";
    public static final String DB_PWD = "db-pwd";
    public static final String DB_URI = "db-uri";
    public static final String DB_DRIVER = "db-driver";
    public static final String DB_TABLE_PREFIX = "table-prefix";
    public static final String DB_URI_TEMPLATE = "db-uri-template";
}
